//
//  FrameTool.h
//  HuiYun
//
//  Created by 刘锦锋 on 16/6/9.
//  Copyright © 2016年 hpx. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define appw  [UIScreen mainScreen].bounds.size.width
#define apph  [UIScreen mainScreen].bounds.size.height

@interface FrameTool : NSObject

+ (CGRect)getToolFrame:(CGRect)frame;

+ (CGPoint)getToolPoint:(CGPoint)point;

+ (CGFloat)getToolWidth:(CGFloat)width;

+ (CGFloat)getToolHeight:(CGFloat)height;

+ (CGFloat)getToolX:(CGFloat)x;

+ (CGFloat)getToolY:(CGFloat)y;

@end
